home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form frmToolBox
- BorderStyle = 3 'Fixed Double
- Caption = "Tool Box Demo"
- ClientHeight = 4650
- ClientLeft = 1485
- ClientTop = 1590
- ClientWidth = 5535
- Height = 5055
- Left = 1425
- LinkTopic = "Form1"
- ScaleHeight = 4650
- ScaleWidth = 5535
- Top = 1245
- Width = 5655
- Begin CUAToolTips tip1
- BackColor = &H0080FFFF&
- Caption = "tip1"
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 255
- Left = 4245
- TabIndex = 1
- Top = 630
- Width = 975
- End
- Begin CUACommand cmdOK
- Cancel = -1 'True
- Caption = "OK"
- Default = -1 'True
- Height = 345
- Left = 4080
- StandardButton = 1 'OK
- TabIndex = 0
- Top = 180
- Width = 1260
- End
- Begin CUAToolBox ToolBox
- BackColor = &H00C0C0C0&
- Height = 4440
- Left = 105
- ListCount = 20
- Top = 105
- Width = 915
- End
- Begin CUALabel lbl
- Caption = "Each button has it's own picture. Look at the ""Load"" event of this window to see how each button gets it's own image. "
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00000080&
- Height = 630
- Index = 3
- Left = 1140
- TabIndex = 5
- Top = 3300
- Width = 3075
- End
- Begin CUALabel lbl
- Caption = "Each button usually represents some kind of ""tool"", and only one may be selected at a time."
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00000080&
- Height = 615
- Index = 2
- Left = 1140
- TabIndex = 4
- Top = 885
- Width = 3075
- End
- Begin CUALabel lbl
- Caption = "It can also be docked to the left, or top of the surrounding window. Move the tool box a little outside the window to see it work."
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00000080&
- Height = 855
- Index = 1
- Left = 1140
- TabIndex = 3
- Top = 2385
- Width = 3075
- End
- Begin CUALabel lbl
- Caption = "CUAToolBox resizes automatically to show all it's buttons. Move the tool box to see how it works."
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00000080&
- Height = 690
- Index = 0
- Left = 1140
- TabIndex = 2
- Top = 1680
- Width = 3150
- End
- Begin Line Line1
- BorderWidth = 2
- X1 = 1155
- X2 = 4170
- Y1 = 1575
- Y2 = 1575
- End
- Begin Image Image1
- Height = 330
- Index = 19
- Left = 4740
- Picture = CTOOLBOX.FRX:0000
- Top = 4530
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 18
- Left = 4350
- Picture = CTOOLBOX.FRX:0182
- Top = 4530
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 17
- Left = 4740
- Picture = CTOOLBOX.FRX:0304
- Top = 4110
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 16
- Left = 4350
- Picture = CTOOLBOX.FRX:0486
- Top = 4110
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 15
- Left = 4740
- Picture = CTOOLBOX.FRX:0608
- Top = 3705
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 14
- Left = 4350
- Picture = CTOOLBOX.FRX:078A
- Top = 3705
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 13
- Left = 4740
- Picture = CTOOLBOX.FRX:090C
- Top = 3300
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 12
- Left = 4350
- Picture = CTOOLBOX.FRX:0A8E
- Top = 3300
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 11
- Left = 4740
- Picture = CTOOLBOX.FRX:0C10
- Top = 2910
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 10
- Left = 4350
- Picture = CTOOLBOX.FRX:0D92
- Top = 2910
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 9
- Left = 4740
- Picture = CTOOLBOX.FRX:0F14
- Top = 2520
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 8
- Left = 4350
- Picture = CTOOLBOX.FRX:1096
- Top = 2520
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 7
- Left = 4740
- Picture = CTOOLBOX.FRX:1218
- Top = 2130
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 6
- Left = 4350
- Picture = CTOOLBOX.FRX:139A
- Top = 2130
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 5
- Left = 4740
- Picture = CTOOLBOX.FRX:151C
- Top = 1740
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 4
- Left = 4350
- Picture = CTOOLBOX.FRX:169E
- Top = 1740
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 3
- Left = 4740
- Picture = CTOOLBOX.FRX:1820
- Top = 1350
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 2
- Left = 4350
- Picture = CTOOLBOX.FRX:19A2
- Top = 1350
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 1
- Left = 4740
- Picture = CTOOLBOX.FRX:1B24
- Top = 975
- Visible = 0 'False
- Width = 330
- End
- Begin Image Image1
- Height = 330
- Index = 0
- Left = 4350
- Picture = CTOOLBOX.FRX:1CA6
- Top = 975
- Visible = 0 'False
- Width = 330
- End
- Option Explicit
- Sub cmdOK_Click ()
- Unload Me
- End Sub
- Sub Form_Load ()
- Dim I%
- For I = 0 To 19
- ToolBox.ListPicture(I) = Image1(I)
- Next
- End Sub
-